runtime.p.runSafePointFn (field)
13 uses
runtime (current package)
mgcmark.go#L1183: for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
mgcmark.go#L1205: for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
proc.go#L2039: atomic.Store(&p2.runSafePointFn, 1)
proc.go#L2051: if atomic.Cas(&p.runSafePointFn, 1, 0) {
proc.go#L2071: if s == _Psyscall && p2.runSafePointFn == 1 && atomic.Cas(&p2.status, s, _Pidle) {
proc.go#L2102: if p2.runSafePointFn != 0 {
proc.go#L2129: if !atomic.Cas(&p.runSafePointFn, 1, 0) {
proc.go#L3046: if pp.runSafePointFn != 0 && atomic.Cas(&pp.runSafePointFn, 1, 0) {
proc.go#L3263: if pp.runSafePointFn != 0 {
proc.go#L3434: if sched.gcwaiting.Load() || pp.runSafePointFn != 0 {
proc.go#L4446: if gp.m.p.ptr().runSafePointFn != 0 {
runtime2.go#L742: runSafePointFn uint32 // if 1, run sched.safePointFn at next safe point
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |